package sjp.learn.designpattern.factory.simplefactory;

public class JavaCourse implements ICourse {
    public void record() {
        System.out.println("录制java课程");
    }

    @Override
    public String toString() {
        return "这是一个java课程";
    }
}
